package com.meta.platform.contract.intf.cmd.contractplanfund;

import com.meta.platform.contract.intf.entity.ContractPlanFund;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class AddContractPlanFundCmd extends ContractPlanFund {

    @NotNull(message = "合同不能为空")
    @ApiModelProperty(value = "合同ID")
    private Long contractId;

    @NotNull(message = "客户不能为空")
    @ApiModelProperty(value = "客户ID")
    private Long customerId;

    @ApiModelProperty(value = "计划回款金额")
    @NotNull(message = "回款金额不能为空")
    private BigDecimal planFundAmount;

}
